	
		package com.cx.bank.Dao;

		import com.cx.bank.model.MoneyBean;
		import com.cx.bank.model.UserBean;
		
		/**
		 *  持久层接口定义银行的各个操作
		 * @author dengqin
		 * @version 2017/6/14
		 */
		
		public interface Log_Res {
			
				/**
				 * 用户注册
				 * @return 
				 * @throws Exception
				 */
			
				public boolean register(UserBean user,MoneyBean money) throws Exception;
			
				
				/**
				 *  用户登录
				 * @return
				 * @throws Exception
				 */
				
				public boolean login(UserBean user) throws Exception;
				
				/**
				 * 用户转账
				 */
				
				public boolean transfer(double money,String name) throws Exception;
 			
			
				/**
				 * 退出系统之前，设置用户的余额
				 * @throws Exception
				 */
				
				public void addMoney(double  money,UserBean user) throws Exception;
		}
